<div style="display: none;" id="createcreditmemo_table_container">
<!--#include file="includes/navigation.html"-->
	<div id="rightside" class="full_size">
    	
    	<article>
        	<header><h2>Create Credit Memo</h2></header>
            <div class="group" id="createDiv">
            	<div class="lblDiv">Credit Memo #:</div>
                <div class="cntrlDiv"><input type="text" name="" id="cmo_num"/></div>
                <div class="lblDiv">Client/Buyer:</div>
                <div class="cntrlDiv">
                	<select id="cmo_client" onchange="cmo_selClient();"></select></div>
                <div class="lblDiv">Invoice #:</div>
                <div class="cntrlDiv">
                	<select id="cmo_invnum" onchange="cmo_selInvoice();"></select>
				</div>
                <div class="lblDiv">Credit Memo Date:</div>
                <div class="cntrlDiv"><input type="text" name="" id="cmo_date"/></div>
                <div class="lblDiv">Supplier:</div>
                <div class="cntrlDiv"><input type="text" name="" id="cmo_supplier" /></div>
                <div class="lblDiv">Custom Field 1:</div>
                <div class="cntrlDiv"><input type="text" name="" id="cmo_cf1" /></div>
                <div class="lblDiv">Custom Field 2:</div>
                <div class="cntrlDiv"><input type="text" name="" id="cmo_cf2" /></div>
                <div class="lblDiv">Custom Field 3:</div>
                <div class="cntrlDiv"><input type="text" name="" id="cmo_cf3" /></div>
            </div>
        </article>
        <article>
        	<header><h2>Line Details</h2></header>
            <div class="group" id="createDiv">
            	<div class="fullDiv">
                	<br/>
					<br/>
                   <div id="cmo_lineDetails_yuiTable"></div>
                    <br/>
                    <br/>
                </div>
            </div>
        </article>
        <article>
        	<header><h2>Total Credit Memo Amount:&nbsp;&nbsp;<span style="align:right;" id="cmo_totalamt"></span>&nbsp;&nbsp;<span id="cmo_curr">USD</span></h2></header>
            <div class="group" id="createDiv">
            	<table>
	            	<tr>
	            	<td width="50%">
            	<div id="commentComponetPlaceHolder5"></div></td>
            	<td width="50%">
            	<td width="50%">
                 <div id="attachmentComponetPlaceHolder5"></div>
                 </td></tr>
                 </table>
                <div class="fullDiv">
                    <div class="lblDiv">&nbsp;</div>
                    <div class="cntrlDiv"><input onclick="javascript:createcreditmemo();" type="submit" name="" id="" value="Create Credit Memo"></div>
                </div>
            </div>
        </article>
        
    </div>
</div>